namespace AF.Models
{
    /// <summary>
    /// 分类模型
    /// </summary>
    public class Category
    {
        public int Id { get; set; }
        
        public string Name { get; set; } = string.Empty;
        
        public TransactionType Type { get; set; }
        
        public string Icon { get; set; } = string.Empty;
        
        public string Color { get; set; } = "#2196F3";
        
        public bool IsDefault { get; set; }
        
        public DateTime CreatedAt { get; set; }
    }
}

